package com.njupt.towersutils;

import com.njupt.towersutils.components.MySQLToRedis;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

import javax.annotation.Resource;

@SpringBootApplication
@MapperScan("com.njupt.towersutils.mapper")
//scheduled,调度器
@EnableScheduling
public class TowersUtilsApplication {
    public static void main(String[] args) {
        SpringApplication.run(TowersUtilsApplication.class,args);
    }
}
